package ReefStats::Controller::OFC;

use warnings;
use strict;
use base 'Catalyst::Controller';

sub mail_statistics_reasons : Local {
    my ( $self, $c ) = @_;
    $c->stash->{mail_statistics_reasons} =
      $c->model('Maillog')->mail_statistics_reasons( $c->req->params );
}

sub mail_statistics_actions : Local {
    my ( $self, $c ) = @_;
    $c->stash->{mail_statistics_actions} =
      $c->model('Maillog')->mail_statistics_actions( $c->req->params );
}

sub end : Private {
    my ( $self, $c ) = @_;
    $c->response->content_type('text/plain; charset=utf-8');
    $c->forward('ReefStats::View::TT');
}

1;

